package com.sdwz.borrow.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class BorrowInfoVo {
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "用户ID")
    private String userId;

    @ApiModelProperty(value = "图书ID")
    private String bookId;

    @ApiModelProperty(value = "预约ID")
    private String appoId;

    @ApiModelProperty(value = "罚款ID")
    private String penaId;

    @ApiModelProperty(value = "借阅开始时间")
    private Date startTime;

    @ApiModelProperty(value = "借阅截至时间")
    private Date endTime;

    @ApiModelProperty(value = "状态（0：已归还/已缴纳罚款 -1：超期 1：借阅中 2:归还中）")
    private Integer status;

    @ApiModelProperty("书名")
    @TableField(value = "book_name")
    private String bookName;

    @ApiModelProperty("作者")
    @TableField(value = "author")
    private String author;

    @ApiModelProperty("国际标准书号")
    @TableField(value = "ISBN")
    private String ISBN;

    @ApiModelProperty(value = "昵称")
    private String nickName;

    @ApiModelProperty(value = "用户姓名")
    private String name;
}
